var yim_mouseWheelDelta:Number = 0.0;
	
function yimput_mouseWheel():Number {
	var t:Number = yim_mouseWheelDelta;
	
	yim_mouseWheelDelta = 0.0
	return t;
}

function yim_onMouseWheelEvent(e:MouseEvent):void {
	yim_mouseWheelDelta += e.delta;
}

function yimput_init():void {
	var stage:Stage=game.stage;
	stage.addEventListener(MouseEvent.MOUSE_WHEEL,  yim_onMouseWheelEvent);
}

function yim_saveString(theurl:String, file:String, str:String):void {
	var loader : URLLoader = new URLLoader();  
	var request : URLRequest = new URLRequest(theurl);  
	 
	request.method = URLRequestMethod.POST;  
	var variables : URLVariables = new URLVariables("type=txt&file="+file+"&data="+str);  
	request.data = variables;  
	loader.load(request);  
		
}


